package com.zxlspace.collection2.map;

/**
 * 学生
 */
public class Student {
    private String name;  //姓名

    private String classNo; //班号

    private double score; //分数

    public Student() {

    }

    public Student(String name, String classNo, double score) {
        this.name = name;
        this.classNo = classNo;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassNo() {
        return classNo;
    }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
